<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd ">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<style type="text/css">
body {
	background-image:	url("#{request.contextPath}/resources/images/light-tile.gif");
}
</style>
	<title>Redefinição de Senha</title>

</h:head>
<h:body>
	<p:growl id="messages" sticky="true" />
	<h:form prependId="false">
		<p:dialog header="ProLinear" visible="true" closable="false"
			draggable="false" resizable="false" width="430">
		

			<h:panelGrid columns="2" cellpadding="5">
				<h:outputLabel for="j_username" value="Usuário: " />
				<h:inputText id="j_username" required="true" value="#{redefinicaoBean.email}"
					requiredMessage="Email é obrigatório" size="35" />
			</h:panelGrid>
			<h:panelGrid columns="3" cellspacing="3" cellpadding="5">
				<h:commandButton value="Redefinir"  type="submit"
					actionListener="#{redefinicaoBean.redefinirSenha}" />				
			</h:panelGrid>

		</p:dialog>
	</h:form>
</h:body>
</html>